/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package jogo;

import java.awt.Rectangle;

/**
 *
 * @author Pxcvsa
 */
public class Bullet extends BaseVectorShape {

    //Delimitar o retângulo
    public Rectangle getBounds() {
        Rectangle r;
        r = new Rectangle((int) getX(), (int) getY(), 1, 1);
        return r;
    }
    
    Bullet() {
        //Criar o tamanho do tiro
        setShape(new Rectangle(0, 0, 1, 1));
        setAlive(false);
    }
}
